Skip to content

Conversation

@maotian06
Copy link
Collaborator

@maotian06 maotian06 commented Feb 18, 2025

Description

Closes #...

Analysis Results

Checklist

  • This PR does NOT contain Protected Health Information (PHI). A repo may need to be deleted if such data is uploaded.
    Disclosing PHI is a major problem1 - Even a small leak can be costly2.

  • This PR does NOT contain germline genetic data3, RNA-Seq, DNA methylation, microbiome or other molecular data4.

  • This PR does NOT contain other non-plain text files, such as: compressed files, images (e.g. .png, .jpeg), .pdf, .RData, .xlsx, .doc, .ppt, or other output files.

  To automatically exclude such files using a .gitignore file, see here for example.

  • I have read the code review guidelines and the code review best practice on GitHub check-list.

  • I have set up or verified the main branch protection rule following the github standards before opening this pull request.

  • The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].

  • I have added the major changes included in this pull request to the CHANGELOG.md under the next release version or unreleased, and updated the date.

Footnotes

  1. UCLA Health reaches $7.5m settlement over 2015 breach of 4.5m patient records

  2. The average healthcare data breach costs $2.2 million, despite the majority of breaches releasing fewer than 500 records.

  3. Genetic information is considered PHI.
    Forensic assays can identify patients with as few as 21 SNPs

  4. RNA-Seq, DNA methylation, microbiome, or other molecular data can be used to predict genotypes (PHI) and reveal a patient's identity.

@maotian06 maotian06 requested a review from dan-knight February 19, 2025 01:27
Copy link
Contributor

@dan-knight dan-knight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Makes sense to update to the new keras package. Just update the version and date in DESCRIPTION and document this change in NEWS.

Copilot AI review requested due to automatic review settings January 21, 2026 22:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the iSubGen package from using the legacy keras package to the modern keras3 package. The update affects dependencies, imports, API calls, file formats, and documentation across the codebase.

Changes:

  • Updated package dependencies and imports from keras to keras3 in DESCRIPTION, NAMESPACE, and metadata.yaml
  • Modified code to use keras3 API: changed load_model_hdf5() to load_model(), updated model$input to model$inputs, and changed file extension from .hdf5 to .keras
  • Updated documentation and examples in README, vignette, and help files to reference keras3 package

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
DESCRIPTION Updated Imports to replace keras with keras3
NAMESPACE Updated import statement from keras to keras3
metadata.yaml Updated Dependencies list to replace keras with keras3
R/create.autoencoder.R Changed output file extension from .hdf5 to .keras
R/create.autoencoder.irf.matrix.R Updated to use load_model() instead of load_model_hdf5(), changed file extension check from hdf5 to keras, and updated model property from model$input to model$inputs
man/create.autoencoder.Rd Updated documentation to reference keras file format and removed trailing whitespace
README.md Updated package references to keras3, added explicit library loading for tensorflow/keras3/reticulate
vignettes/iSubGenGuide.Rnw Updated package references and URLs to point to keras3

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maotian06 maotian06 requested a review from tnyamaguchi January 21, 2026 22:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@tnyamaguchi tnyamaguchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maotian06 The last two comments from copilot make sense. Do you want to accept the suggestions or any reason you want to skip them? Otherwise, looks good to me.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@tnyamaguchi tnyamaguchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants